﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Clothes.BLL;
using Clothes.IBLL;
using Clothes.Model;

namespace Clothes.UI
{
    public partial class Index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                CLDressIBLL cLDress = new CLDressBLL();
                List<CLDress> list = cLDress.Select(1).ReadResult();
                this.Repeater1.DataSource = list;
                this.Repeater1.DataBind();

                List<CLDress> listnv = cLDress.Select(2).ReadResult();
                this.Repeater2.DataSource = listnv;
                this.Repeater2.DataBind();

                List<CLDress> listtong = cLDress.Select(3).ReadResult();
                this.Repeater3.DataSource = listtong;
                this.Repeater3.DataBind();
            }
        }
    }
}